<!DOCTYPE html>
<html>
<head>
<script
	src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js">
</script>
<script>
jQuery(document).ready(function(){
	
	jQuery("p").click(function(){
   alert("The paragraph was clicked. " + "->" );
   $("p#Par1").html("hola"); 
  });
  
});



</script>
</head>
<body>
	<h1>ENCABEZADO</h1>
	<p id="Par1">Click on this paragraph.</p>
	<p id="Par2">Click on this paragraph 2.</p>

</body>
</html>
